﻿<%@ Page Title="Order Passengers" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OrderPassengers.aspx.cs" Inherits="IFD2.OrderPassengers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <form id="form1" runat="server" role="form" class="form-inline" defaultbutton="lbtnQuery">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h5>
            <div class="form-group">
                <asp:Label ID="Label1" runat="server" Text="Order No.:" meta:resourcekey="OrderNo"></asp:Label>
                <asp:Label ID="lblOrderNo" runat="server" Text="Label" Font-Bold="true"></asp:Label><br />
                <asp:Label ID="Label2" runat="server" Text="Adult Pax.:" meta:resourcekey="AdultPax"></asp:Label>
                <asp:Label ID="lblAdtCount" runat="server" Font-Bold="true"></asp:Label><br />
                <asp:Label ID="Label3" runat="server" Text="Child Pax.:" meta:resourcekey="ChildPax"></asp:Label>
                <asp:Label ID="lblChdCount" runat="server" Font-Bold="true"></asp:Label><br />
                <asp:Label ID="Label4" runat="server" Text="Infant Pax.:" meta:resourcekey="InfantPax"></asp:Label>
                <asp:Label ID="lblInfCount" runat="server" Font-Bold="true"></asp:Label><br />
                <asp:Label ID="Label20" runat="server" Text="Total Fare:" Visible="False" meta:resourcekey="TotalFare"></asp:Label>
                <asp:Label ID="lblCurrency" runat="server" Visible="False" Font-Bold="true"></asp:Label>
                <asp:Label ID="lblTotalFare" runat="server" Visible="False" Font-Bold="true"></asp:Label>
            </div>
            <br class="hidden-xs"/><br class="hidden-xs" />
            <asp:LinkButton ID="lbtnQuery" runat="server" CssClass="form-control input-sm btn-primary text-center" Width="100%" ToolTip="" meta:resourcekey="tipQuery" OnClick="lbtnQuery_Click"> <span class="glyphicon glyphicon-search" style="font-size:large;"></span></asp:LinkButton>
            <p></p><%--没有此行(或&nbsp;)，上面的按钮在手机模式(xs)下，只有上半部可以点击！--%>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-heading btn-primary">
                    <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h6>
                </div>
                <div class="panel-body">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
                    <div class="table-responsive">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" style="min-width:1800px;width:100%;" class="table-hover"
                            DataKeyNames="bk_id,pax_sn" DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None">
                            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <Columns>
                                <asp:TemplateField>
                                    <ItemTemplate>
                                        <input name="KEY" type="radio" value='<%# Eval("bk_id")+"|"+Eval("pax_sn") %>' />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="pax_sn" HeaderText="pax_sn" ReadOnly="True" SortExpression="pax_sn"  meta:resourcekey="pax_sn" />
                                <asp:TemplateField HeaderText="PaxName" SortExpression="PaxName" meta:resourcekey="PaxName">
                                    <ItemTemplate>
                                        <%# Eval("family_name")+"/" + Eval("name") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="EnglishName" SortExpression="EnglishName" meta:resourcekey="EnglishName1">
                                    <ItemTemplate>
                                        <%# Eval("family_name_en")+"/" + Eval("name_en") %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:CheckBoxField DataField="hold_inf" HeaderText="hold_inf" SortExpression="hold_inf" meta:resourcekey="hold_inf" Visible="false" />
                                <asp:CheckBoxField DataField="male" HeaderText="male" SortExpression="male" meta:resourcekey="male1" />
                                <asp:CheckBoxField DataField="vip" HeaderText="VIP" SortExpression="vip" />
                                <asp:CheckBoxField DataField="alone_chd" HeaderText="alone_chd" SortExpression="alone_chd" meta:resourcekey="alone_chd" />
                                <asp:BoundField DataField="move_assistant" HeaderText="move_assistant" SortExpression="move_assistant"  meta:resourcekey="move_assistant" />
                                <asp:BoundField DataField="meal" HeaderText="meal" SortExpression="meal"  meta:resourcekey="meal" />
                                <asp:BoundField DataField="remark" HeaderText="remark" SortExpression="remark"  meta:resourcekey="remark1" />
                                <asp:BoundField DataField="age_type" HeaderText="age_type" SortExpression="age_type"  meta:resourcekey="age_type" />
                                <asp:BoundField DataField="inf_dob" HeaderText="inf_dob" SortExpression="inf_dob"  meta:resourcekey="inf_dob" DataFormatString="{0:yyyy-M-d}"/>
                                <asp:BoundField DataField="nationality" HeaderText="nationality" SortExpression="nationality"  meta:resourcekey="nationality1" />
                                <asp:BoundField DataField="id_type" HeaderText="id_type" SortExpression="id_type"  meta:resourcekey="id_type" />
                                <asp:BoundField DataField="id_no" HeaderText="id_no" SortExpression="id_no"  meta:resourcekey="id_no" />
                                <asp:BoundField DataField="id_expired_date" HeaderText="id_expired_date" SortExpression="id_expired_date"  meta:resourcekey="id_expired_date" DataFormatString="{0:yyyy-M-d}"/>
                                <asp:BoundField DataField="mobile_phone" HeaderText="mobile_phone" SortExpression="mobile_phone"  meta:resourcekey="phone1" />
                                <asp:BoundField DataField="email" HeaderText="email" SortExpression="email"  meta:resourcekey="email1" />
                                <asp:BoundField DataField="ffp_airline" HeaderText="ffp_airline" SortExpression="ffp_airline"  meta:resourcekey="ffp_airline" />
                                <asp:BoundField DataField="ffp_id" HeaderText="ffp_id" SortExpression="ffp_id"  meta:resourcekey="ffp_id" />
                                <asp:BoundField DataField="pax_value" HeaderText="pax_value" SortExpression="pax_value"  meta:resourcekey="pax_value" />
                                <asp:CheckBoxField DataField="need_invoice" HeaderText="need_invoice" SortExpression="need_invoice" meta:resourcekey="need_invoice" />
                                <asp:BoundField DataField="mail_address" HeaderText="mail_address" SortExpression="mail_address" meta:resourcekey="mail_address" />
                                <asp:BoundField DataField="post_code" HeaderText="post_code" SortExpression="post_code" meta:resourcekey="post_code" />
                                <asp:CheckBoxField DataField="cancelled" HeaderText="cancelled" SortExpression="cancelled" meta:resourcekey="cancelled" visible="false"/>
                                <asp:BoundField DataField="done_user" HeaderText="done_user" SortExpression="done_user"  meta:resourcekey="done_user" />
                                <asp:BoundField DataField="done_time" HeaderText="done_time" SortExpression="done_time"  meta:resourcekey="done_time" />
                        
                            </Columns>
                            <RowStyle BackColor="#EFF3FB" />
                            <EditRowStyle BackColor="#2461BF" />
                            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>

                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:IFD_DB %>" 
                            SelectCommand="bll_bk_get_pax_info" SelectCommandType="StoredProcedure" DataSourceMode="DataReader">
                            <SelectParameters>
                                <asp:ControlParameter ControlID="lblOrderNo" Name="bk_id" PropertyName="Text" Type="Int64" />
                                <asp:SessionParameter Name="office" SessionField="OFFICE" Type="String" />
                                <asp:SessionParameter Name="office_type" SessionField="OFFICE_TYPE" Type="String" />
                                <asp:SessionParameter Name="user_airline" SessionField="AIRLINE" Type="String" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                    </div>
                    <asp:Button ID="btnDelete" runat="server" CssClass="btn btn-sm btn-default" OnClick="btnDelete_Click" Text="Remove"  meta:resourcekey="Remove" />
                    <br />
                    <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label><br />
                    <br />
                    <%--<div class="table-responsive">
                        <table style="width:700px;">
                        <tr>
                            <td></td><td><asp:Label ID="Label21" runat="server" Text="Family Name:" meta:resourcekey="FamilyName"></asp:Label></td>
                            <td><asp:Label ID="Label8" runat="server" Text="Name:" meta:resourcekey="Name"></asp:Label></td></tr>
                        <tr><td>
                            <asp:Label ID="Label28" runat="server" Text="English Name:" meta:resourcekey="EnglishName"></asp:Label></td>
                            <td><asp:TextBox ID="txtFamilyNameEn" runat="server" Width="134px" BackColor="#FFFF99"></asp:TextBox> </td>
                            <td><asp:TextBox ID="txtNameEn" runat="server" BackColor="#FFFF99"></asp:TextBox> </td>
                        </tr>
                        <tr><td>
                            <asp:Label ID="Label29" runat="server" Text="Citizenship Name:" meta:resourcekey="CitizenshipName"></asp:Label></td>
                            <td>
                            <asp:TextBox ID="txtFamilyName" runat="server" Width="134px" BackColor="#FFFF99"></asp:TextBox> </td>
                            <td><asp:TextBox ID="txtName" runat="server" BackColor="#FFFF99"></asp:TextBox> </td>
                        </tr>
                        <tr><td><asp:Label ID="Label9" runat="server" Text="Gender:" meta:resourcekey="Gender"></asp:Label></td>
                            <td><asp:RadioButton ID="radMale" runat="server" Text="Male" GroupName="gender" meta:resourcekey="Male" BackColor="#FFFF99" />
                            <asp:RadioButton ID="radFemale" runat="server" Text="Female" GroupName="gender" meta:resourcekey="Female" BackColor="#FFFF99" /> 
                            </td></tr>
                        <tr><td><asp:Label ID="Label10" runat="server" Text="Age Type:" meta:resourcekey="AgeType"></asp:Label></td>
                            <td><asp:DropDownList ID="lstAgeType" runat="server" onselectedindexchanged="lstAgeType_SelectedIndexChanged" AutoPostBack="True" BackColor="#FFFF99">
                            <asp:ListItem Selected="True" Value="A" meta:resourcekey="Adult">Adult</asp:ListItem>
                            <asp:ListItem Value="C" meta:resourcekey="Child">Child</asp:ListItem>
                            <asp:ListItem Value="I" meta:resourcekey="Infant">Infant</asp:ListItem>
                            </asp:DropDownList> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="chkHoldInfant" runat="server" meta:resourcekey="HoldInfant" 
                                Text="Hold Infant_X" BackColor="#FFFF99" Visible="False" />
                            </td>
                            <td><asp:Label ID="lblInfDob" runat="server" Text="Infant DOB:" meta:resourcekey="InfantDOB" Visible="False"></asp:Label>
                            <asp:TextBox ID="txtInfantDob" runat="server" Width="96px" Visible="False" BackColor="#FFFF99"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td><asp:Label ID="Label12" runat="server" Text="Nationality:" meta:resourcekey="Nationality"></asp:Label></td>
                            <td><asp:DropDownList ID="lstNations" runat="server" DataSourceID="sqlNations" DataTextField="name" DataValueField="code" BackColor="#FFFF99">
                            </asp:DropDownList></td></tr>
                        <tr>
                            <td><asp:Label ID="Label18" runat="server" Text="ID Type:" meta:resourcekey="IDType"></asp:Label></td>
                            <td><asp:DropDownList ID="lstIdTypes" runat="server" BackColor="#FFFF99">
                                <asp:ListItem Selected="True" Value="I"  meta:resourcekey="ID">ID</asp:ListItem>
                                <asp:ListItem Value="P"  meta:resourcekey="Passport">Passport</asp:ListItem>
                                <asp:ListItem Value="M"  meta:resourcekey="Military">Military</asp:ListItem>
                            </asp:DropDownList></td>
                            <td><asp:Label ID="Label13" runat="server" Text="ID No.:" meta:resourcekey="IDNo"></asp:Label>
                            <asp:TextBox ID="txtIdNo" runat="server" BackColor="#FFFF99"></asp:TextBox> </td>
                            <td><asp:Label ID="Label14" runat="server" Text="Expriy:" meta:resourcekey="Expriy"></asp:Label>
                            <asp:TextBox ID="txtExpiry" runat="server" Width="97px" BackColor="#FFFF99"></asp:TextBox> </td></tr>
                        <tr>
                            <td><asp:Label ID="Label15" runat="server" Text="Mobile Phone:" meta:resourcekey="Phone"></asp:Label></td>
                            <td><asp:TextBox ID="txtPhone" runat="server" Width="109px"></asp:TextBox></td>
                            <td><asp:Label ID="Label16" runat="server" Text="E-mail:" meta:resourcekey="Email"></asp:Label>
                            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox></td></tr>
                        <tr>
                            <td><asp:Label ID="Label5" runat="server" Text="FFP Airline:" meta:resourcekey="FFPAirline"></asp:Label></td>
                            <td><asp:DropDownList ID="lstFfpAirlines" runat="server" DataSourceID="sqlAirlines" DataTextField="name" DataValueField="code">
                            </asp:DropDownList></td>
                            <td><asp:Label ID="Label6" runat="server" Text="FFP Number:" meta:resourcekey="FFPNumber"></asp:Label>
                            <asp:TextBox ID="txtFfpNo" runat="server" Width="130px"></asp:TextBox></td>
                            <td><asp:Label ID="Label7" runat="server" Text="Pax Value:" meta:resourcekey="PaxValue"></asp:Label>
                            <asp:TextBox ID="txtPaxValue" runat="server" Text="-20000" Width="46px"></asp:TextBox></td></tr>
                        <tr>
                            <td><asp:CheckBox ID="chkVip" runat="server" Text="VIP" /></td>
                            <td colspan="3"><asp:Label ID="Label17" runat="server" Text="Remark:" meta:resourcekey="Remark"></asp:Label>
                            <asp:TextBox ID="txtRemark" runat="server" Width="399px"></asp:TextBox></td></tr>
                        <tr>
                            <td><asp:CheckBox ID="chkAloneChd" runat="server" Text="Unaccompanied Child" meta:resourcekey="AloneChd" /></td>
                            <td><asp:Label ID="Label25" runat="server" Text="Move Assistant:" meta:resourcekey="MoveAssistant"></asp:Label>
                            <asp:DropDownList ID="lstMoveAssistant" runat="server">
                                <asp:ListItem Value="-" meta:resourcekey="None">None</asp:ListItem>
                                <asp:ListItem Value="W" meta:resourcekey="WheelChair">Wheel Chair</asp:ListItem>
                                <asp:ListItem Value="S" meta:resourcekey="Stretcher">Stretcher</asp:ListItem>
                            </asp:DropDownList></td>
                            <td><asp:Label ID="Label26" runat="server" Text="Favour Meal:" meta:resourcekey="FavourMeal"></asp:Label>
                            <asp:DropDownList ID="lstMeal" runat="server">
                                <asp:ListItem Selected="True" Value="*" meta:resourcekey="Voluntariness" Text="*-Voluntariness"></asp:ListItem>
                                <asp:ListItem Value="R" meta:resourcekey="RedMeat" Text="Red meat"></asp:ListItem>
                                <asp:ListItem Value="W" meta:resourcekey="WhiteMeat" Text="White meat"></asp:ListItem>
                                <asp:ListItem Value="S" meta:resourcekey="SeaFood" Text="Sea food"></asp:ListItem>
                                <asp:ListItem Value="V" meta:resourcekey="Vegetarianism" Text="Vegetarianism"></asp:ListItem>
                                <asp:ListItem Value="N" meta:resourcekey="Snack" Text="sNack"></asp:ListItem>
                                <asp:ListItem Value="I" meta:resourcekey="InfantMeal" Text="Infant meal"></asp:ListItem>
                                <asp:ListItem Value="M" meta:resourcekey="Muslim" Text="Muslim"></asp:ListItem>
                                <asp:ListItem Value="F" meta:resourcekey="SugarFree" Text="sugar-Free"></asp:ListItem>
                                <asp:ListItem Value="P" meta:resourcekey="SpoonMeal" Text="sPoon meal"></asp:ListItem>
                                <asp:ListItem Value="X" meta:resourcekey="NoMeal" Text="X-no meal"></asp:ListItem>
                            </asp:DropDownList></td></tr>
                        <tr>
                            <td><asp:CheckBox ID="chkNeedInvoice" runat="server" Text="Need Invoice" meta:resourcekey="NeedInvoice" /></td>
                            <td colspan="2"><asp:Label ID="Label23" runat="server" Text="Mail Address:" meta:resourcekey="MailAddress"></asp:Label>
                            <asp:TextBox ID="txtMailAddress" runat="server" MaxLength="50" Width="240px"></asp:TextBox></td>
                            <td><asp:Label ID="Label24" runat="server" Text="Post Code:" meta:resourcekey="PostCode"></asp:Label>
                            <asp:TextBox ID="txtPostCode" runat="server" MaxLength="6" Width="65px"></asp:TextBox></td></tr>
                        </table>
                    </div>--%>
                    <asp:Label ID="Label11" runat="server" Text="Citizenship Name:" meta:resourcekey="CitizenshipName" Font-Bold="True"></asp:Label>
                    <div class="form-group">
                        <asp:Label ID="Label21" runat="server" Text="Family Name:" meta:resourcekey="FamilyName"></asp:Label>
                        <asp:TextBox ID="txtFamilyName" runat="server" Width="134px" BackColor="#FFFF99" MaxLength="16"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label8" runat="server" Text="Name:" meta:resourcekey="Name"></asp:Label>
                        <asp:TextBox ID="txtName" runat="server" BackColor="#FFFF99" MaxLength="16"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <asp:Label ID="Label28" runat="server" Text="English Name:" meta:resourcekey="EnglishName" Font-Bold="True"></asp:Label>
                    <div class="form-group">
                        <asp:Label ID="Label22" runat="server" Text="Family Name:" meta:resourcekey="FamilyName"></asp:Label>
                        <asp:TextBox ID="txtFamilyNameEn" runat="server" Width="134px" BackColor="#FFFF99" MaxLength="20"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label29" runat="server" Text="Name:" meta:resourcekey="Name"></asp:Label>
                        <asp:TextBox ID="txtNameEn" runat="server" BackColor="#FFFF99" MaxLength="20"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <div class="form-group">
                        <asp:Label ID="Label9" runat="server" Text="Gender:" meta:resourcekey="Gender"></asp:Label>
                        <asp:RadioButton ID="radMale" runat="server" Text="Male" GroupName="gender" meta:resourcekey="Male" BackColor="#FFFF99" />
                        <asp:RadioButton ID="radFemale" runat="server" Text="Female" GroupName="gender" meta:resourcekey="Female" BackColor="#FFFF99" /> 
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label10" runat="server" Text="Age Type:" meta:resourcekey="AgeType"></asp:Label>
                        <td><asp:DropDownList ID="lstAgeType" runat="server" onselectedindexchanged="lstAgeType_SelectedIndexChanged" AutoPostBack="True" BackColor="#FFFF99">
                        <asp:ListItem Selected="True" Value="A" meta:resourcekey="Adult">Adult</asp:ListItem>
                        <asp:ListItem Value="C" meta:resourcekey="Child">Child</asp:ListItem>
                        <asp:ListItem Value="I" meta:resourcekey="Infant">Infant</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <asp:CheckBox ID="chkHoldInfant" runat="server" meta:resourcekey="HoldInfant" Text="Hold Infant_X" BackColor="#FFFF99" Visible="False" />
                    <div class="form-group">
                        <asp:Label ID="lblInfDob" runat="server" Text="Infant DOB:" meta:resourcekey="InfantDOB" Visible="False"></asp:Label>
                        <asp:TextBox ID="txtInfantDob" runat="server" Width="96px" Visible="False" BackColor="#FFFF99" MaxLength="15"></asp:TextBox></td>
                    </div>
                    <br class="hidden-xs" />
                    <div class="form-group">
                        <asp:Label ID="Label12" runat="server" Text="Nationality:" meta:resourcekey="Nationality"></asp:Label>
                        <asp:DropDownList ID="lstNations" runat="server" DataSourceID="sqlNations" DataTextField="name" DataValueField="code" BackColor="#FFFF99">
                        </asp:DropDownList>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label18" runat="server" Text="ID Type:" meta:resourcekey="IDType"></asp:Label>
                        <asp:DropDownList ID="lstIdTypes" runat="server" BackColor="#FFFF99">
                            <asp:ListItem Selected="True" Value="I"  meta:resourcekey="ID">ID</asp:ListItem>
                            <asp:ListItem Value="P"  meta:resourcekey="Passport">Passport</asp:ListItem>
                            <asp:ListItem Value="M"  meta:resourcekey="Military">Military</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label13" runat="server" Text="ID No.:" meta:resourcekey="IDNo"></asp:Label>
                        <asp:TextBox ID="txtIdNo" runat="server" BackColor="#FFFF99"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label14" runat="server" Text="Expriy:" meta:resourcekey="Expriy"></asp:Label>
                        <asp:TextBox ID="txtExpiry" runat="server" Width="97px" BackColor="#FFFF99" MaxLength="15"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <div class="form-group">
                        <asp:Label ID="Label15" runat="server" Text="Mobile Phone:" meta:resourcekey="Phone"></asp:Label>
                        <asp:TextBox ID="txtPhone" runat="server" Width="109px" MaxLength="16"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <td><asp:Label ID="Label16" runat="server" Text="E-mail:" meta:resourcekey="Email"></asp:Label>
                        <asp:TextBox ID="txtEmail" runat="server" MaxLength="20"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <div class="form-group">
                        <asp:Label ID="Label5" runat="server" Text="FFP Airline:" meta:resourcekey="FFPAirline"></asp:Label>
                        <asp:DropDownList ID="lstFfpAirlines" runat="server" DataSourceID="sqlAirlines" DataTextField="name" DataValueField="code">
                        </asp:DropDownList>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label6" runat="server" Text="FFP Number:" meta:resourcekey="FFPNumber"></asp:Label>
                        <asp:TextBox ID="txtFfpNo" runat="server" Width="130px" MaxLength="20"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <asp:Label ID="Label7" runat="server" Text="Pax Value:" meta:resourcekey="PaxValue"></asp:Label>
                        <asp:TextBox ID="txtPaxValue" runat="server" Text="-20000" Width="50px" MaxLength="6"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <asp:CheckBox ID="chkVip" runat="server" Text="VIP" />
                    <div class="form-group">
                        <asp:Label ID="Label17" runat="server" Text="Remark:" meta:resourcekey="Remark"></asp:Label>
                        <asp:TextBox ID="txtRemark" runat="server" Width="240px" MaxLength="50"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <asp:CheckBox ID="chkAloneChd" runat="server" Text="Unaccompanied Child" meta:resourcekey="AloneChd" />
                    <div class="form-group">
                        <asp:Label ID="Label25" runat="server" Text="Move Assistant:" meta:resourcekey="MoveAssistant"></asp:Label>
                        <asp:DropDownList ID="lstMoveAssistant" runat="server">
                            <asp:ListItem Value="-" meta:resourcekey="None">None</asp:ListItem>
                            <asp:ListItem Value="W" meta:resourcekey="WheelChair">Wheel Chair</asp:ListItem>
                            <asp:ListItem Value="S" meta:resourcekey="Stretcher">Stretcher</asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <div class="form-group">
                        <td><asp:Label ID="Label26" runat="server" Text="Favour Meal:" meta:resourcekey="FavourMeal"></asp:Label>
                        <asp:DropDownList ID="lstMeal" runat="server">
                            <asp:ListItem Selected="True" Value="*" meta:resourcekey="Voluntariness" Text="*-Voluntariness"></asp:ListItem>
                            <asp:ListItem Value="R" meta:resourcekey="RedMeat" Text="Red meat"></asp:ListItem>
                            <asp:ListItem Value="W" meta:resourcekey="WhiteMeat" Text="White meat"></asp:ListItem>
                            <asp:ListItem Value="S" meta:resourcekey="SeaFood" Text="Sea food"></asp:ListItem>
                            <asp:ListItem Value="V" meta:resourcekey="Vegetarianism" Text="Vegetarianism"></asp:ListItem>
                            <asp:ListItem Value="N" meta:resourcekey="Snack" Text="sNack"></asp:ListItem>
                            <asp:ListItem Value="I" meta:resourcekey="InfantMeal" Text="Infant meal"></asp:ListItem>
                            <asp:ListItem Value="M" meta:resourcekey="Muslim" Text="Muslim"></asp:ListItem>
                            <asp:ListItem Value="F" meta:resourcekey="SugarFree" Text="sugar-Free"></asp:ListItem>
                            <asp:ListItem Value="P" meta:resourcekey="SpoonMeal" Text="sPoon meal"></asp:ListItem>
                            <asp:ListItem Value="X" meta:resourcekey="NoMeal" Text="X-no meal"></asp:ListItem>
                        </asp:DropDownList>
                    </div>
                    <br class="hidden-xs" />
                    <asp:CheckBox ID="chkNeedInvoice" runat="server" Text="Need Invoice" meta:resourcekey="NeedInvoice" />
                    <div class="form-group">
                        <asp:Label ID="Label23" runat="server" Text="Mail Address:" meta:resourcekey="MailAddress"></asp:Label>
                        <asp:TextBox ID="txtMailAddress" runat="server" MaxLength="50" Width="240px"></asp:TextBox>
                    </div>
                    <div class="form-group">
                        <td><asp:Label ID="Label24" runat="server" Text="Post Code:" meta:resourcekey="PostCode"></asp:Label>
                        <asp:TextBox ID="txtPostCode" runat="server" MaxLength="6" Width="65px"></asp:TextBox>
                    </div>
                    <br class="hidden-xs" />
                    <div class="btn-group">
                        <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="Add Pax"  meta:resourcekey="AddPax" CssClass="btn btn-sm btn-default" />
                        <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" Text="Change Passenger"  meta:resourcekey="ChangePassenger" CssClass="btn btn-sm btn-default" />
                    </div>
                    <asp:Label ID="Label27" runat="server" Text="ChangeNote"  meta:resourcekey="ChangeNote" Font-Italic="true"></asp:Label><br />
                    </ContentTemplate></asp:UpdatePanel>
                    <br />
                    <div class="btn-group">
                    <asp:Button ID="butSubmitOrder" runat="server" OnClick="butSubmitOrder_Click" Text="Submit Order" CssClass="btn btn-sm btn-default"  meta:resourcekey="SubmitOrder" />
                    <asp:Button ID="butCancel" runat="server" OnClick="butCancel_Click" Text="Cancel Order !"  meta:resourcekey="CancelOrder" CssClass="btn btn-sm btn-default" />
                    </div>

                    <asp:SqlDataSource ID="sqlNations" runat="server" ConnectionString="<%$ ConnectionStrings:IFD_DB %>" SelectCommand="bll_country_get_names_by_lang" 
                        SelectCommandType="StoredProcedure" DataSourceMode="DataReader">
                        <SelectParameters>
                            <asp:SessionParameter Name="lang" SessionField="LANG" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>
                    <asp:SqlDataSource ID="sqlAirlines" runat="server" ConnectionString="<%$ ConnectionStrings:IFD_DB %>" SelectCommand="bll_airline_get_names_by_lang" 
                        SelectCommandType="StoredProcedure" DataSourceMode="DataReader">
                        <SelectParameters>
                            <asp:SessionParameter Name="lang" SessionField="LANG" Type="String" />
                        </SelectParameters>
                    </asp:SqlDataSource>

                    <asp:CheckBox ID="chkConfirm" runat="server" Text="Names are ready!" meta:resourcekey="NamesAreReady" Visible="false" Enabled="False"/>
                    <asp:Label ID="Label19" runat="server" Text="Infant Name:" Visible="False" meta:resourcekey="InfantName"></asp:Label>
                    <asp:TextBox ID="txtInfName" runat="server" Visible="False"></asp:TextBox>
                </div>
            </div>
        </div>
    </div>

    </div>
    </form>

</asp:Content>
